package com.cunshe.dao;

import com.cunshe.domain.EmailAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EmailAddressDao {

    int insert(EmailAddress record);
    int delete(Long id);
    int update(EmailAddress record);
    List<EmailAddress> list(EmailAddress record);

}